package com.ruoyi.web.controller.park;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.service.ClearingMerchantService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(description = "商户")
@RestController
@RequestMapping("/merchant")
public class MerchantController {

    @Autowired
    private ClearingMerchantService clearingMerchantService;

    @ApiOperation(value = "清分商户")
    @GetMapping("/list")
    public AjaxResult selectList(){
        return AjaxResult.success("查询成功！",clearingMerchantService.selectList());
    }
}
